package rabbitMQ.common;

public class Common {
    public static final String HOST = "139.9.84.204";
    public static final Integer PORT = 5672;
    public static final String VIRTUALHOST = "study";
    public static final String USERNAME = "admin";
    public static final String PASSWORD = "admin";

    //简单模式
    public static final String SIMPLE_QUEUE = "simpleQueue";
    public static final String SIMPLE_MSG = "hello, simple.....";

    //工作队列模式
    public static final String WORK_QUEUE = "workQueue";
    public static final String WORK_QUEUE_MSG = "hello, workQueue.....";

    //发布订阅模式
    public static final String FANOUT_EXCHANGE = "fanoutExchange";
    public static final String FANOUT_QUEUE1 = "fanoutQueue1";
    public static final String FANOUT_QUEUE2 = "fanoutQueue2";
    //路由模式
    public static final String DIRECT_EXCHANGE = "directExchange";
    public static final String DIRECT_QUEUE1 = "directQueue1";
    public static final String DIRECT_QUEUE2 = "directQueue2";

    //路由模式
    public static final String TOPIC_EXCHANGE = "topicExchange";
    public static final String TOPIC_QUEUE1 = "topicQueue1";
    public static final String TOPIC_QUEUE2 = "topicQueue2";

    //RPC通信模式
    public static final String RPC_REQUEST_QUEUE = "rpc.request.queue";
    public static final String RPC_RESPONSE_QUEUE = "rpc.response.queue";

    //发布确认模式
    public static final String PUBLISHER_CONFIRMS_QUEUE1 = "publisher.confirms.queue1";
    public static final String PUBLISHER_CONFIRMS_QUEUE2 = "publisher.confirms.queue2";
    public static final String PUBLISHER_CONFIRMS_QUEUE3 = "publisher.confirms.queue3";



}
